<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <title>用户信息</title>
    <link rel="stylesheet" href="/css/user.css">
    <style>
        .tt{border-collapse: collapse;margin:20px auto;width: 500px;}
        .tt tr th,.tt tr td{
            border: 1px solid #d6d6d6;
            padding: 5px;
            text-align: center;

        }
    </style>
</head>
<body>
<h1>用户表</h1>
<table class="tt">
    <tr>
        <td>id</td>
        <td>name</td>
        <td>age</td>
        <td>操作</td>
    </tr>
    <c:forEach items="${userall}" var="us">
        <tr>
            <td>${us.uid}</td>
            <td>${us.uname}</td>
            <td>${us.uage}</td>
            <td>
                <a href="/delete/${us.uid}">删除</a>
                <a href="/updateSelect/${us.uid}">修改</a>
                <a href="/insturn">添加</a>
            </td>
        </tr>
    </c:forEach>
</table>

</body>
</html>
